/**
 * @package: BrickCAD
 * @className: SetWidthCommand.java
 * @package: default
 * @author: Sean , Jack, Lester, Erik Telstad
 * @date_created: November 16, 2009
 * @last_modified: November 16, 2009
 * 
 * 
 * 
 */

public class SetWidthCommand extends Command{
	double width;
	
	public SetWidthCommand(double awidth){
		width = awidth;
	}

	@Override
	void execute() {
		model.makeMemento(width);
		model.setWidth(width);
	}

}
